import org.junit.Test;

public class SumMaxTest {
    @Test
    public void test() {
         int n[] = {1,-2,3,5,-1};
        // 返回值8
//         int n[] = {1,-2,3,-8,5,1};
        // 返回值6
 //        int n[] = {1,-2,3,-2,5,1};
        // 返回值7
        SumMax sum = new SumMax();
        sum.sum(n);
    }
}
